[NTG-context] Re: offset with \copypages

2024-03-21 Thread Wolfgang Schuster
Peter Münster schrieb am 21.03.2024 um 15:04: Hi, When inserting pages with \copypages, the included pages are slightly shifted to the left and to the bottom. Minimal example: % test-file.tex: \setuplayout[page] \starttext \input tufte \vfill \input tufte \stoptext % test.tex: \starttext

[NTG-context] offset with \copypages

2024-03-21 Thread Peter Münster
Hi, When inserting pages with \copypages, the included pages are slightly shifted to the left and to the bottom. Minimal example: % test-file.tex: \setuplayout[page] \starttext \input tufte \vfill \input tufte \stoptext % test.tex: \starttext \copypages[test-file.pdf] \stoptext How could I

[NTG-context] Re: [ \copypages ]

2024-01-18 Thread Floris van Manen via ntg-context
On 18/01/2024 12:10, Hans Hagen via ntg-context wrote: yes but experimental and not yet documented I don't mind experimenting with it. e.g. I try to change the font color in existing pdf documents from black to blue. At the moment my workaround is using mutool to export pages to svg.

[NTG-context] Re: [ \copypages ]

2024-01-18 Thread Hans Hagen via ntg-context
On 1/17/2024 10:20 PM, vm via ntg-context wrote: Is there a (hidden) option that allows for changing the font color of external included pdfs yes but experimental and not yet documented Hans -

[NTG-context] Re: [ \copypages ]

2024-01-17 Thread Henning Hraban Ramm
Am 17.01.24 um 22:20 schrieb vm via ntg-context: Is there a (hidden) option that allows for changing the font color of external included pdfs \copypages[file.pdf][color=blue] does not work as intended ;-) No, it can’t. You can try to use transparency: put a colored area on top of the PDF

[NTG-context] [ \copypages ]

2024-01-17 Thread vm via ntg-context
Is there a (hidden) option that allows for changing the font color of external included pdfs \copypages[file.pdf][color=blue] does not work as intended ;-) .Floris ___ If your question is of interest to others

Re: [NTG-context] numbering pages included by \copypages

2020-09-28 Thread Alan Bowen
After further testing guided by Hans’ suggestion, I now have \setupexternalfigures[location=default] \setuplayer[preset=rightbottom, method=overlay]{} \setuppagenumbering[color=darkmagenta] \starttext \getfiguredimensions[HannahBW.pdf] \dorecurse{\noffigurepages}{ \startTEXpage[pagestate=start]

Re: [NTG-context] numbering pages included by \copypages

2020-09-25 Thread Hans Hagen
On 9/25/2020 5:53 AM, Aditya Mahajan wrote: On Fri, 25 Sep 2020, Wolfgang Schuster wrote: Aditya Mahajan schrieb am 24.09.2020 um 23:48: On Thu, 24 Sep 2020, Alan Bowen wrote: Any suggestions or pointers will be most welcome. See if this gives you any ideas

Re: [NTG-context] numbering pages included by \copypages

2020-09-24 Thread Aditya Mahajan
On Fri, 25 Sep 2020, Wolfgang Schuster wrote: > Aditya Mahajan schrieb am 24.09.2020 um 23:48: > > On Thu, 24 Sep 2020, Alan Bowen wrote: > > > Any suggestions or pointers will be most welcome. > > > > See if this gives you any ideas > > > >

Re: [NTG-context] numbering pages included by \copypages

2020-09-24 Thread Wolfgang Schuster
be possible to do get the same result using the .pdf files of each document instead. \copypages is promising: it includes the. pdf files and the counter in the resultant .prd file is correct. But what I still have to get is the page number on all pages of the included .pdf files except the first page in each

Re: [NTG-context] numbering pages included by \copypages

2020-09-24 Thread Aditya Mahajan
ing the .pdf files of each document instead. > > \copypages is promising: it includes the. pdf files and the counter in the > resultant .prd file is correct. But what I still have to get is the page > number on all pages of the included .pdf files except the first page

[NTG-context] numbering pages included by \copypages

2020-09-24 Thread Alan Bowen
I need to include several documents in a single paginated file. Treating the source file (.tex) of each document as a component file in a .prd file is one way to go. But I was wondering if it might be possible to do get the same result using the .pdf files of each document instead. \copypages

Re: [NTG-context] broken links in PDF included via \copypages (PoC fix attached)

2019-03-22 Thread Hans Hagen
ream-data=uncompress --object-streams=disable and vim, and I'm attaching that. The equation references work in PDF readers but stop working after passing through \copypages[Hello-world-weird.pdf][][interaction=yes]. ___ If your que

[NTG-context] broken links in PDF included via \copypages (PoC fix attached)

2019-03-22 Thread Tomas Janousek
t source code. Thanks! I'm not sure I can attach the actual PDF as it's a recent Elsevier pub, but I managed to manually craft one from the ConTeXt hello world using qpdf --stream-data=uncompress --object-streams=disable and vim, and I'm attaching that. The equation references work in PDF readers

Re: [NTG-context] \copypages and page numbering

2016-12-22 Thread Hans Hagen
On 12/20/2016 11:06 PM, Andrea Valle wrote: Dear all, I’m assembling into a unique pdf the proceedings of a conference. They have been created by various sw (latex, word, writer etc). In order to include the papers, I’m just using a series of commands like \copypages[CIMXXI_contributi/dapelo

[NTG-context] \copypages and page numbering

2016-12-20 Thread Andrea Valle
Dear all, I’m assembling into a unique pdf the proceedings of a conference. They have been created by various sw (latex, word, writer etc). In order to include the papers, I’m just using a series of commands like \copypages[CIMXXI_contributi/dapelo][][scale=950] They are not provided with page

[NTG-context] \copypages and page numbers

2013-02-12 Thread Troy Henderson
I have a scanned (raster) PDF that I am inserting into my document via \copypages. However, the document's page number is not showing on top of this raster PDF page (presumably because \copypages places the page on top of everything else). How can I ensure that the page number is on top

Re: [NTG-context] Rotating \copypages

2013-02-06 Thread Procházka Lukáš Ing . - Pontex s . r . o .
On Thu, 31 Jan 2013 19:36:08 +0100, Wolfgang Schuster wolfgang.schus...@gmail.com wrote: \copypages[…][][orientation=90] Wolfgang Hello, kind request: could some info about three parameter alternative (or other changes/extensions) of \copypages be added to wiki? TIA. Lukas -- Ing

[NTG-context] Rotating \copypages

2013-01-31 Thread Troy Henderson
and the height of foo.pdf is 11in. I would like to use \copypages to insert foo.pdf rotated 90 degrees. How can this be done? Troy Henderson ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Rotating \copypages

2013-01-31 Thread Wolfgang Schuster
as-is and thus is being clipped since the height of a letter size page is 8.5in and the height of foo.pdf is 11in. I would like to use \copypages to insert foo.pdf rotated 90 degrees. How can this be done? \copypages[…][][orientation=90] Wolfgang

Re: [NTG-context] Rotating \copypages

2013-01-31 Thread Troy Henderson
\copypages[…][][orientation=90] Excellent. Thank you! Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman

[NTG-context] Scale argument for copypages broken

2013-01-30 Thread Marco Patzer
Hi, the scale argument for \copypages does not work any more in a recent beta: \starttext \copypages [cow] [scale=100] \stoptext Marco signature.asc Description: Digital signature ___ If your question

Re: [NTG-context] Scale argument for copypages broken

2013-01-30 Thread Wolfgang Schuster
Am 30.01.2013 um 18:58 schrieb Marco Patzer home...@lavabit.com: Hi, the scale argument for \copypages does not work any more in a recent beta: \starttext \copypages [cow] [scale=100] \stoptext \copypages[cow][][scale=100] Hans explained this change a while ago. Wolfgang

Re: [NTG-context] Scale argument for copypages broken

2013-01-30 Thread Marco Patzer
On 2013–01–30 Wolfgang Schuster wrote: \copypages[cow][][scale=100] Hans explained this change a while ago. I found the thread. Thanks. Marco signature.asc Description: Digital signature ___ If your question

Re: [NTG-context] \copypages[][n=...] not working

2012-10-28 Thread Hans Hagen
On 23-10-2012 12:32, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, I've just updated Ctx: ConTeXt ver: 2012.10.22 23:51 MKIV fmt: 2012.10.23 int: english/english - it seems \copypages ignores the 'n' specification: \starttext \copypages[t2.pdf][n=1] \stoptext - both

Re: [NTG-context] \copypages[][n=...] not working

2012-10-28 Thread Procházka Lukáš
Hello Hans, thanks for the patch; I guess it will be added to the next beta - ? Best regards, Lukas On Sun, 28 Oct 2012 11:34:41 +0100, Hans Hagen pra...@wxs.nl wrote: \def\page_selectors_copy[#filename][#settings][#figuresettings]% {\bgroup \getfiguredimensions[#filename]%

[NTG-context] \copypages[][n=...] not working

2012-10-23 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I've just updated Ctx: ConTeXt ver: 2012.10.22 23:51 MKIV fmt: 2012.10.23 int: english/english - it seems \copypages ignores the 'n' specification: \starttext \copypages[t2.pdf][n=1] \stoptext - both t2.pdf pages are inserted. Any command option changed? Fix needed

[NTG-context] Parameter scale in copypages in latest beta

2012-10-15 Thread Charles
Hi, I was importing a PDF inside my document, but the scale parameter is now ignored. It's reproducible with any PDF with: \starttext \copypages[tt.pdf][scale=500] \stoptext Any idea ? Thanks Charles

Re: [NTG-context] Parameter scale in copypages in latest beta

2012-10-15 Thread Wolfgang Schuster
Am 15.10.2012 um 17:12 schrieb Charles c...@vejnar.org: Hi, I was importing a PDF inside my document, but the scale parameter is now ignored. It's reproducible with any PDF with: \starttext \copypages[tt.pdf][scale=500] \stoptext Any idea ? Can you try this: \starttext

Re: [NTG-context] Parameter scale in copypages in latest beta

2012-10-15 Thread Charles
Le 15/10/2012 17:22, Wolfgang Schuster a écrit : Am 15.10.2012 um 17:12 schrieb Charles c...@vejnar.org: Hi, I was importing a PDF inside my document, but the scale parameter is now ignored. It's reproducible with any PDF with: \starttext \copypages[tt.pdf][scale=500] \stoptext Any idea

Re: [NTG-context] Parameter scale in copypages in latest beta

2012-10-15 Thread Hans Hagen
On 15-10-2012 17:25, Charles wrote: Le 15/10/2012 17:22, Wolfgang Schuster a écrit : Am 15.10.2012 um 17:12 schrieb Charles c...@vejnar.org: Hi, I was importing a PDF inside my document, but the scale parameter is now ignored. It's reproducible with any PDF with: \starttext \copypages

[NTG-context] \copypages[file#.pdf]

2011-07-19 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, this kind of question was discussed once - how to include '#' character to the file name so that \copypages take it? Something like: \copypages[TZ#001.pdf] e.g. by \copypages[\MAKETEXT{TZ#001.pdf}] There was discussion about other not-so-frequent chars as well

Re: [NTG-context] \copypages[file#.pdf]

2011-07-19 Thread Wolfgang Schuster
Am 19.07.2011 um 16:58 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, this kind of question was discussed once - how to include '#' character to the file name so that \copypages take it? Something like: \copypages[TZ#001.pdf] e.g. by \copypages[\MAKETEXT{TZ#001.pdf

Re: [NTG-context] \copypages[file#.pdf]

2011-07-19 Thread Procházka Lukáš Ing . - Pontex s . r . o .
name so that \copypages take it? Something like: \copypages[TZ#001.pdf] e.g. by \copypages[\MAKETEXT{TZ#001.pdf}] There was discussion about other not-so-frequent chars as well - ! # $ % @ ^ _ - any evolution? You can use \asciimode to make them character for the whole document or restrict

[NTG-context] \copypages and friends

2011-03-10 Thread Willi Egger
Hello Hans, I believe that there is a bug or something has changed from Context version 14 february and version 25 february. While in the older version the commands \insertpages and \copypages work as expected, the newest beta simply ignores the commands. There is no error message. Kind

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Curiouslearn
you in advance. On Mon, Feb 21, 2011 at 10:58 AM, Curiouslearn curiousle...@gmail.com wrote: Hello, I am trying to use the \copypages command to include a pdf file, say file3pages.pdf with three pages in my context document. First, I issued the command:    \copypages[file3pages.pdf

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Hans Hagen
On 23-2-2011 12:11, Curiouslearn wrote: Anyone? If it cannot be done, I would appreciate if someone can say that. I i have no time now, but you can always do \startTEXpage \hskip1cm\externalfigure[...][page=1] \stopTEXpage -

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Curiouslearn
Thanks very much Hans. I suppose I will have to issue the command for each page separately then (with possibly a loop). I was wondering if there was an option in \copypages or some other command that applied to each page of the PDF file. But having heard from you, now I know there isn't. Thanks

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Thomas A. Schmitz
in advance. On Mon, Feb 21, 2011 at 10:58 AM, Curiouslearn curiousle...@gmail.com wrote: Hello, I am trying to use the \copypages command to include a pdf file, say file3pages.pdf with three pages in my context document. First, I issued the command: \copypages[file3pages.pdf] The pages

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Curiouslearn
the \copypages command to include a pdf file, say file3pages.pdf with three pages in my context document. First, I issued the command:    \copypages[file3pages.pdf] The pages from file3pages.pdf are too close to the left margin. There is not enough white space on the left whereas, there is a lot of space

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Thomas A. Schmitz
On Feb 23, 2011, at 1:41 PM, Curiouslearn wrote: I will try to do this using lua loop. I should learn it. I am learning so many new things currently that I have not had a chance to learn Lua. lua is not all that different from other languages such as python or perl; once you've grasped the

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread luigi scarso
On Wed, Feb 23, 2011 at 3:10 PM, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: On Feb 23, 2011, at 1:41 PM, Curiouslearn wrote: I will try to do this using lua loop. I should learn it. I am learning so many new things currently that I have not had a chance to learn Lua. lua is not

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Aditya Mahajan
On Wed, 23 Feb 2011, Curiouslearn wrote: I will try to do this using lua loop. I should learn it. I am learning so many new things currently that I have not had a chance to learn Lua. I was wondering if Aditya's filter module could be used to use Python instead of Lua, but I suppose I should

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Andreas Harder
Am 23.02.2011 um 16:27 schrieb Aditya Mahajan: On Wed, 23 Feb 2011, Curiouslearn wrote: I will try to do this using lua loop. I should learn it. I am learning so many new things currently that I have not had a chance to learn Lua. I was wondering if Aditya's filter module could be used

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Curiouslearn
Thanks to all. This time around I will use the lua route since I know the number of pages and it seems more natural to me...I will understand what it is doing even if I look at the thing after one month. Bharat On Wed, Feb 23, 2011 at 10:27 AM, Aditya Mahajan adit...@umich.edu wrote: On Wed, 23

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-23 Thread Marco
On 2011-02-23 Andreas Harder ahar...@uni-koblenz.de wrote: \getfiguredimensions[filename] It seems that this is broken with the newest beta – at least for me. Can someone confirm? Confirmed on solaris x86 LuaTeX ver: beta-0.65.0-2010121317 ConTeXt ver: 2011.02.18 17:17 and ConTeXt ver:

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-22 Thread Curiouslearn
to include pages from the pdf file. I want to increase the left side margin on the pages on which included file is present. Thank you in advance. On Mon, Feb 21, 2011 at 10:58 AM, Curiouslearn curiousle...@gmail.com wrote: Hello, I am trying to use the \copypages command to include a pdf file, say